package com.sjh.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sjh.mapper.IType_mapper;
import com.sjh.vo.Bis_nurse_bag;
import com.sjh.vo.Bis_nurse_type;

@Service
public class Type_service implements IType_service{
		@Autowired
		private IType_mapper mapper;
	@Override
	public List<Map> typeSel(Bis_nurse_type type) {
		
		return mapper.typeSel(type);
	}
	@Override
	public void typeadd(Bis_nurse_type type) {
		mapper.typeadd(type);
		
	}
	@Override
	public void typedel(String type_id) {
		mapper.typedel(type_id);
		
	}
	@Override
	public Bis_nurse_type typeupdByid(String type_id) {
		
		return mapper.typeupdByid(type_id);
	}
	@Override
	public void typeupd(Bis_nurse_type type) {
		mapper.typeupd(type);
		
	}

}
